﻿<%@ Control Language="C#" Inherits="System.Web.Mvc.ViewUserControl<VCC.CMS.ViewModels.LoadShopByScrollingViewModel>" %>
<%@ Import Namespace="VCC.Lib.Common"%>
<%@ Import Namespace="VCC.Lib.Helpers" %>
<%
foreach (var item in Model.Shops)
{
  var LinkTodetails = Html.ShopDetailRoute(item);
  %>		
<li class="vip<%= item.VIPID.HasValue ? item.VIPID : 4%>"> 
	<div>
		<a title="<%=item.Name%>" name="S030" id="S030" class="jTip" previewtitle="Cây cảnh Nam Định 1" preview="/Shop/Preview/30" href="<%=LinkTodetails%>">
		   <img width="145" height="113" src="<%=LinkUtils.ShopImageOrDefault(item.LogoPath)%>" class="avatar-img">
		</a>
	</div>
	<div class="t_vip4">				
		<%= Html.Truncate(item.Name, 20)%>
	</div>
	<div>
		Tỉnh/TP: <span class="t_red"><%=Html.Truncate(item.City.Name,12)%></span>
	</div>
</li>
<%}%>
